]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Update to new API for creating paint context
authorJonas Ådahl <jadahl@gmail.com>
Tue, 21 Apr 2020 07:03:43 +0000 (09:03 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 23 Apr 2020 14:46:03 +0000 (14:46 +0000)
It now takes a redraw clip and flags.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1207

src/st/st-private.c

index 70d31ef76c2db6abc76160107db74e10371f7709..16a5e15dd6da3ce8c578467ee56f99ecfb40b9a8 100644 (file)
@@ -517,7 +517,9 @@ _st_create_shadow_pipeline_from_actor (StShadow     *shadow_spec,
 
       clutter_actor_set_opacity_override (actor, 255);
 
-      paint_context = clutter_paint_context_new_for_framebuffer (fb);
+      paint_context =
+        clutter_paint_context_new_for_framebuffer (fb, NULL,
+                                                   CLUTTER_PAINT_FLAG_NONE);
       clutter_actor_paint (actor, paint_context);
       clutter_paint_context_destroy (paint_context);